#include <cstdio>
#include <iostream>
using namespace std;
int n, x, ans;
int main() { 
    ios::sync_with_stdio(false);
    cin >> n;
    for (int i = 0; i < n; i++) { 
        cin >> x;
        if (x & 1) ans++;
    }
    cout << ans << endl;
}
